package com.lightjet.macross.biz.portal;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.domain.EntityScan;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.netflix.hystrix.EnableHystrix;
import org.springframework.cloud.openfeign.EnableFeignClients;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@SpringBootApplication(scanBasePackages={"com.lightjet.macross.base.feign.api","com.lightjet.macross.biz.portal"})
@EnableDiscoveryClient
@EnableFeignClients(basePackages = "com.lightjet.macross.base.feign.api")
@EnableHystrix
@EnableSwagger2
//@EntityScan(basePackages = "com.lightjet.macross.biz.mes.domain")
public class BizPortalApplication {
    public static void main(String[] args)
    {
        SpringApplication.run(BizPortalApplication.class,args);
    }
}
